package com.study.mike.model.po;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author KangHui
 * @Date 2022/8/30 15:14
 */
@Data
public class QuerySaleOrderPO {
    /**
     * 订单号
     */
    private String orderSn;

    /**
     * 订单状态
     */
    private Integer status;

    /**
     * 每页数量
     */
    private Integer pageSize;

    public Integer getPageSize() {
        return pageSize = pageSize == null ? 10 : pageSize;
    }

    public Integer getPageCurrent() {
        return pageCurrent = pageCurrent == null ? 1 : pageCurrent;
    }


    /**
     * 当前页
     */
    private Integer pageCurrent;

}
